package edu.gatech.TNE.wonderLab7000.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class NameChecker {
	public boolean passes(String str)
	{
		
		Pattern p = Pattern.compile("[\\s ! @ # $ % ^ & * ( ) - + = < > , . ?  { }]");
		Matcher m = p.matcher(str);
		boolean b = m.find();
		System.out.println(!b);
		return !b;
	}
	public static void main(String[] args)
	{
		NameChecker checker = new NameChecker();
		checker.passes("HelloWorld");
	}
}


